package components;

public class Badword {
    
    private String regex;
    private String message;
    /**
     * Returns the regex value.
     *
     * @return the regex
     */
    public String getRegex() {
        return regex;
    }
    /**
     * Sets the regex value.
     *
     * @param regex the regex to set
     */
    public void setRegex(String regex) {
        this.regex = regex;
    }
    /**
     * Returns the message value.
     *
     * @return the message
     */
    public String getMessage() {
        return message;
    }
    /**
     * Sets the message value.
     *
     * @param message the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }
    /**
     * Constructor for this class.
     *
     * @param regex
     * @param message
     */
    public Badword(String regex, String message) {
        super();
        this.regex = regex;
        this.message = message;
    }
    
    

}
